package testGroovy

import testGroovy.model.QuoteFieldStatus

import static org.apache.commons.beanutils.BeanUtils.cloneBean

def list = []
def a 
println list + a + a - a

println list - null

def string = 'abc，'
println string[0..-2]

List<List> propertyPathList = new ArrayList<>();
propertyPathList.add(Arrays.asList("autoType","auto.autoType"));

println propertyPathList

//def object = null
def object = new QuoteFieldStatus(filedName: 'fasf')
println object
println object?.with {
    cloneBean(object)
}

println new ArrayList<List>((Collection) Arrays.asList(Arrays.asList("autoType", "auto.autoType")))
def aaaaaaa = new ArrayList()
aaaaaaa.add( Arrays.asList("autoType", "autoType"))
println aaaaaaa